import request from '@/utils/request'

// 获取菜品分类
export function getOrder(data) {
    return request({
        url: '/v1/order/detail',
        method: 'post',
        data
    })
}

// 删除菜品
export function delDisk(data) {
    return request({
        url: '/v1/order/deldisk',
        method: 'post',
        data
    })
}

// 买单
export function buyDisk(data) {
    return request({
        url: '/v1/order/buy',
        method: 'post',
        data
    })
}